package com.linx.park.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.linx.park.domain.ParkPlace;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户对象导入VO
 *
 * @author Lion Li
 */

@Data
@NoArgsConstructor
@AutoMapper(target = ParkPlace.class)
// @Accessors(chain = true) // 导入不允许使用 会找不到set方法
public class ParkPlaceImportVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "名称")
    private String placeName;

    @ExcelProperty(value = "编码")
    private String roomCode;

    /**
     * 楼栋名称
     */
    @ExcelProperty(value = "楼栋编码")
    private String parkBuildingCode;

    /**
     * 楼栋区域id
     */
    @ExcelProperty(value = "楼栋区域编码")
    private String parkBuildingAreaCode;


    /**
     * 楼栋区域楼层id
     */
    @ExcelProperty(value = "楼栋区域楼层编码")
    private String parkBuildingFloorCode;


    /**
     * 楼栋房间id
     */
    @ExcelProperty(value = "楼栋房间编码")
    private String parkBuildingRoomCode;

    @ExcelProperty(value = "经度")
    private String longitude;

    @ExcelProperty(value = "纬度")
    private String latitude;
    private String parkPlaceCode;
    @ExcelProperty(value = "空间级别")
    private Integer grade;

    private String path;

}
